package com.zh.repo.controller.workflow;

import com.zh.repo.entity.workflow.FM66Dt1;
import com.zh.repo.service.workflow.ServiceInfoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @description:
 * @author:
 * @time: 2025-05-20 15:16
 * @version: 1.0
 */
@RestController
@Slf4j
@RequestMapping("/workflow")
public class FM66Controller {
    @Resource
    private ServiceInfoService serviceInfoService;
    //获取小程序端提交的服务信息
    @PostMapping("/getfm66")
    public String getFM66Dt1DataForMiniProgram(@RequestBody FM66Dt1 fm66Dt1){
        log.info("=小程序端传过来的值：=>"+fm66Dt1+"<==");
        int iResult=0;
        iResult=serviceInfoService.saveF66Dt1(fm66Dt1);
        return "测试数据";
    }
}
